﻿@using TEST_SCCM_MVC_01.Models;
@model List<Collection>


<div class="span4">

@using (Html.BeginForm("StartDeployment", "Deployment", FormMethod.Post))
{
    
    for (int i = 0; i < Model.Count; i++)
    {
        <div class="room">
                @Html.Hidden(string.Format("RoomID[{0}]", i), Model[i].CollectionID)
                @Html.Hidden(string.Format("RoomName[{0}]", i), Model[i].Name)
                @Html.Hidden(string.Format("OSID[{0}]", i))
                @Html.Label(string.Format("OSName[{0}]", i), Model[i].Name)
                @Html.TextBox(string.Format("OSName[{0}]", i), null, new { @class = "drop-container" })
        </div>
    }
    
    <input type="submit" value="Installationen durchführen" />
}
</div>
